import 'package:flutter/material.dart';

class BaseThemes {

  BaseThemes._();

  /// 页面默认的主题颜色
  static Color defaultPrimaryColor = Color(0xFF333333);

  /// App可以设置的颜色列表
  static const Map<String, Color> colors = {
    'blue': Colors.blue,
    'blueAccent': Colors.blueAccent,
    'cyan': Colors.cyan,
    'deepPurple': Colors.deepPurple,
    'deepPurpleAccent': Colors.deepPurpleAccent,
    'deepOrange': Colors.deepOrange,
    'green': Colors.green,
    'indigoAccent': Colors.indigoAccent,
    'orange': Colors.orange,
    'purple': Colors.purple,
    'pink': Colors.pink,
    'red': Colors.red,
    'teal': Colors.teal,
    'black': Color(0xFF333333),
    'white': Colors.white
  };

  static setDefaultTheme( Color color ) {
    BaseThemes.defaultPrimaryColor = color;
  }

}
